'*******************************************************************************
'* NET-IO+ Board for Atmega 32 - 1284P and ENC28J60    'SVN Rev.227 09.01.2011
'*******************************************************************************
'
'  Copyright bascom-forum.de (C) [2009]  [DON]
'  -> http://bascom-forum.de/index.php?topic=1781.new;topicseen#new
'  Software based on Code by Ben Zijlstra and Viktor Varga
'  Weiterentwickelt von
'    Huetti,
'    Michael
'    boeserkorn
'    mr_energy
'    HansHans
'    six1, Michael Kcher
'    dabuze                            datetime
'    framuel
'
'   http://creativecommons.org/licenses/by-sa/3.0/de/
'(

Hardware : Pollin Netio With Atmega32(better M644 Or M1284)
'-------------------------------------------------------------------------------
' ADDITIONAL HARDWARE AND CHANGES
'
' *** LCD ***
'  Include_lcd = 1
'  LCD Display 16*2  i2c  'Pollin PC1602e LCD ber I2C ADD ON BOARD
'
'  Include_lcd = 2
' Anschluss ber SUB-D25 Brckenstecker
'                            'Six1 i2c driver for the LCD
'  Include_lcd = 3
'  Config Lcdpin = Pin , Db4 = Portd.7 , Db5 = Portd.6 , Db6 = Portd.2 , Db7 = Portd.4 , E = Portb.0 , Rs = Portb.3
'
'  Include_lcd = 4 original Pollin Display auf EXT Pollin Board
'  Config Lcdpin = Pin , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 , Db7 = Portd.7 , E = Portb.0 , Rs = Portd.3
'
'
'  Include_lcd = 5 Httis,HansHans  LCD
'  Config Lcdpin = Pin , Db4 = Portd.5 , Db5 = Portd.4 , Db6 = Portd.3 , Db7 = Portd.2 , E = Portd.6 , Rs = Portd.7'
'
' *** CAM 328 ***
' nderungen NET-IO: SUB-D25 PIN-14 +3,3V (Ausgang IC2)
' PORTC.0 --> txd (mega)  rxd (Cam)  ber 4050 oder R-Teiler 470R und 1K
' PORTC.1 --> rxd (mega)  txd (Cam)
'
' *** SD-CARD ***
' nderungen SPI Stecker:
'                        PIN 3 -> PORTB.1  (Jumper J11 abziehen!)
'                        PIN 4 -> +3,3V Ausgang IC2
' Adapterplatine mit 2 x 10pol Stecker und SD-Card Einschub:
'   Stecker Eingang Adaperplatine (ISP-IN) mit ISP Stecker NET-IO verbinden
'   Stecker ISP-IN mit ISP-OUT alle Pin auer 3 + 2 durchverbinden
'   MISO (out) der SD-Card direkt an den SPI Bus verbinden
'   MOSI (IN), SCK und /CS (Pin 3) ber Widerstand Teiler (3  Teiler)
'   Teiler:   MOSI, SCK, /CS -> -[470R]-{to SD CARD}-[ 1K ]-|
'
' IMPORTANT!  USE ONLY 8.3 FILENAMES ON SD_CARD! AVR DOS DOESN'T HANDLE MORE!
'-------------------------------------------------------------------------------

Bascom : 1.12.0.0 / Full Version


Settings : Options / Compiler / Output "SET OPTIMIZE CODE"

Netio + .bas : ~line 95 Select Your Chip
                  '$regfile = "m32def.dat"                                     'Chip =23
                  '$regfile = "m644def.dat"                                    'Chip =37
                  '$regfile = "m644pdef.dat"                                   'Chip =59
                  '$regfile = "m1284pdef.dat"                                  'Chip =103

            ~line 145 Select Netio + Mode(see Description For Further Details!)
                   Const Netio_mode = 1( < - - Minimum Modus. For M32)
                   Feel Free To Make Your Own Settings By Copying Block And Giving New Number



...will Be Continued : -)





')